﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Gallery.aspx.cs" Inherits="Gallery"
    MasterPageFile="MasterPage.master" %>

<%@ Register TagPrefix="uc" TagName="GalleryFoldersUC" Src="~/UserControls/GalleryFoldersUC.ascx" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <uc:GalleryFoldersUC ID="galleryFoldersUC" runat="server" />
    <asp:HyperLink ID="lnkGalleryTop" runat="server" NavigateUrl="~/Gallery.aspx" Visible="false">Back to gallery</asp:HyperLink>
    <br />
    <br />
    <asp:Repeater ID="rptGalleryPhotos" runat="server">
        <ItemTemplate>
            <%--<a  href="<%# Eval("ImagePath") %>">--%>
            <a  href="GaleryZoom.aspx?path=<%= UrlFolderPath %>&imageName=<%# Eval("ImageName") %>">
                <img src="<%# Eval("SmallImagePath") %>" style="border-width: 0px;"></a>
        </ItemTemplate>
    </asp:Repeater>
    <br />
    <br />
    <asp:HyperLink ID="lnkGalleryBottom" runat="server" NavigateUrl="~/Gallery.aspx"
        Visible="false">Back to gallery</asp:HyperLink>
    <asp:Label ID="lblHidden" runat="server" Text="We are sorry, this section is not available"
        Visible="false"></asp:Label>
</asp:Content>
